#menu-container
    .avatar-container
        img.avatar(src=user.avatar,data-ui-sref="user.info")
        .user-info-panel(data-ui-sref="user.info")
            span.horizontal-container
                span 欢迎你&nbsp;
                span#userName(title=user.realName)= user.realName
            div(style="margin-top:10px;")
                span.label.red= user.corporation
    .decal
    .menu
        if user.hasReviewPower()
            .menu-item(data-ui-sref="notice", data-ui-sref-active="active")
                i.fa.fa-bell-o.custom-1x           
                span 我的通知   
        if user.hasAdminPower() || (user.authentication==='Manager' && user.corporation==='上勘院')
            .menu-item.item
                i.fa.fa-sort-amount-asc.custom-1x           
                span 统计查询
            .sub-menu(style="display:none;")
                .menu-item(data-ui-sref="statistic({projectTypeCode:'LongTermSubChord'})", data-ng-class="{ active: $state.includes('statistic') }")
                    span 收敛统计
                .menu-item(data-ui-sref="report({projectTypeCode:'MetroMonitor'})", data-ng-class="{ active: $state.includes('report') }")
                    span 阶段统计(测试)
        .menu-item(data-ui-sref="projects", data-ui-sref-active="active")
            i.fa.fa-th-list.custom-1x           
            span 我的项目         
        if user.hasAdminPower()        
            .menu-item(data-ui-sref="admin", data-ui-sref-active="active")
                i.fa.fa-user.custom-1x               
                span 权限分配
            //- .menu-item(data-ui-sref="advanced", data-ui-sref-active="active")
            //-     i.fa.fa-shield.custom-1x               
            //-     span 高级操作
        .decal
        a.menu-item(target='_blank', href='http://61.129.33.248:3002', style='color:#eee;text-decoration:none;')
            i.fa.fa-map-marker.fa-2x        
            span 项目地图
        a.menu-item(target='_blank', href='http://61.129.33.248:3002/mix', style='color:#eee;text-decoration:none;')
            i.fa.fa-subway.custom-1x
            span 混合查询  
    #logout.menu-item(data-ui-sref="login")
        i.fa.fa-sign-out.custom-1x           
        span 退出登录